<!DOCTYPE html>
<html>
<head>
	<title></title>
	<meta charset="utf-8">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap.css">
	<style type="text/css">
		.a {width: 800px;margin:0 auto; }
		th {width: 30%;}
		table {margin-top: 20px;}
	</style>
</head>
<body>
<div class="listle-responsive a">
	<table class="table table-striped table-bordered table-hover table-condensed text-center">
		<thead>
			<th class="text-center" colspan="2">商品详情</th>
		</thead>
		<tbody>
			<tr>
				<td>商品名称</td>
				<td>{$value.name}</td>
			</tr>
			<tr>
				<td>商品单价</td>
				<td>{$value.price}元</td>
			</tr>
			<tr>
				<td>商品库存</td>
				<td>{$value.number}</td>
			</tr>
			<tr>
				<td>商品销量</td>
				<td>{$value.sales}</td>
			</tr>
			<tr>
				<td>商品状态</td>
				<td>{$value.status}</td>
			</tr>
			<tr>
				<td>商品介绍</td>
				<td>{$value.introduction}</td>
			</tr>
			<tr>
				<td>商品上架时间</td>
				<td>{$value.putaway_time}</td>
			</tr>
			<tr>
				<td>商品是否推荐</td>
				<td>{$value.recommend}</td>
			</tr>
			<tr>
				<td>商品分类</td>
				<td>
					<for start="0" end="count($list)-1">
						{$list.$i.class.cname} 、
					</for>
					<!-- <a href="{:U('ProductClass/view')}">分类管理</a> -->					
				</td>
			</tr>
			<tr>
				<td>商品图片</td>
				<td>
					<for start="0" end="count($list['img'])">
						<img src="__PUBLIC__/images/product/{$list.img.$i.picture_url}" width="100px" height="100px">
					</for>
					<a href="{:U('Picture/view')}">图片管理</a>					
				</td>
				
			</tr>
			
			<tr>
				<td>商品页标题</td>
				<td>{$value.title}</td>
			</tr>
			<tr>
				<td>商品页关键词</td>
				<td>{$value.keyword}</td>
			</tr>
			<tr>
				<td>商品页描述</td>
				<td>{$value.description}</td>
			</tr>
		</tbody>
	</table>
</div>

</body>
</html>